-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Added Enable Roo Code quick fixes setting to disable quick fixes. #4878
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
Hey @OlegOAndreev, thanks for the PR! I noticed a few inconsistencies with the translations. Several language files (Spanish, Indonesian, Japanese, Korean, Russian, Vietnamese, and Traditional Chinese) are missing trailing periods in the new Also, just a heads-up that the addition of this setting might cause existing unit tests to fail, since they expect code actions to always be provided. You might want to add a test case in The implementation looks solid overall. Nice work on addressing the issue! |
|
@daniel-lxs ran pr-fixer on this |
- Add missing period to French translation for consistency - Add test case for disabled enableCodeActions setting - Fix existing test mock setup for proper configuration handling
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @OlegOAndreev and @hannesrudolph! This looks good!
) * Added Enable Roo Code quick fixes setting to disable quick fixes. * Fix: Address PR review comments and failing tests for #4878 * Fix localization consistency and add test coverage - Add missing period to French translation for consistency - Add test case for disabled enableCodeActions setting - Fix existing test mock setup for proper configuration handling --------- Co-authored-by: hannesrudolph <[email protected]> Co-authored-by: RooCode <[email protected]>
…oCodeInc#4878) * Added Enable Roo Code quick fixes setting to disable quick fixes. * Fix: Address PR review comments and failing tests for RooCodeInc#4878 * Fix localization consistency and add test coverage - Add missing period to French translation for consistency - Add test case for disabled enableCodeActions setting - Fix existing test mock setup for proper configuration handling --------- Co-authored-by: hannesrudolph <[email protected]> Co-authored-by: RooCode <[email protected]>
Related GitHub Issue
Closes: #1747
Description
Added configuration for disabling Roo Code quick fixes. The configuration uses standard VSCode configuration.
Test Procedure
Disable the setting, check that quick fixes "Add to Roo Code" and others no longer appear.
Type of Change
srcor test files.Pre-Submission Checklist
npm run lint).console.log) has been removed.npm test).mainbranch.npm run changesetif this PR includes user-facing changes or dependency updates.Screenshots / Videos
Documentation Updates
Additional Notes
Get in Touch
Important
Added
enableCodeActionssetting to toggle Roo Code quick fixes, with updates toCodeActionProvider.tsand localization files.enableCodeActionssetting inpackage.jsonto toggle Roo Code quick fixes.provideCodeActions()inCodeActionProvider.tschecksenableCodeActionssetting to determine if quick fixes should be provided.package.nls.*.jsonfiles to includesettings.enableCodeActions.descriptionin multiple languages.This description was created by
for 5474bfb. You can customize this summary. It will automatically update as commits are pushed.